<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es" lang="es">
<html:xhtml/>

    <head>
        <title>Registrar Usuario</title>
        <link rel="stylesheet" type="text/css" href="inc/estilos.css"/>
        <link rel="stylesheet" type="text/css" href="inc/forms.css" />
    </head>
    <body>


        <h1>Registro</h1>

        <br/>
        <div id="reg">

            <html:form action="/AddUserGuardar" method="post">
            <fieldset>
            <legend>Datos de usuario</legend>

            <label>Login:</label>
            <html:text property="login" size="20"/>
            <span class="errorformulario"><html:errors property="login"/></span> <br/>

            <label>Contrase&ntilde;a:</label>
            <html:password property="pass" size="20" value=""/>
            <span class="errorformulario"><html:errors property="pass"/></span> <br/>

            <label>E-mail:</label>
            <html:text property="mail" size="20"/>
            <span class="errorformulario"><html:errors property="mail" /></span> <br/>

            <label>NIF:</label>
            <html:text property="nif" size="10"/>
            <span class="errorformulario"><html:errors property="nif" /></span> <br/>

            <label>Nombre:</label>
            <html:text property="name" size="20"/>
            <span class="errorformulario"><html:errors property="name" /></span> <br/>

            <label>Apellidos:</label>
            <html:text property="apellido" size="20"/>
            <span class="errorformulario"><html:errors property="apellido" /></span> <br/>

            <label>Direcci&oacute;n:</label>
            <html:text property="direccion" size="20"/>
            <span class="errorformulario"><html:errors property="direccion" /></span> <br/>

            <label>C&oacute;digo Postal:</label>
            <html:text property="cp" size="5" maxlength="5"/>
            <span class="errorformulario"><html:errors property="cp" /></span> <br/>
            <label>Ciudad:</label>
            <html:text property="ciudad" size="20"/>
            <span class="errorformulario"><html:errors property="ciudad" /></span> <br/>

            <label>Provincia:</label>
            <html:text property="provincia" size="20"/>
            <span class="errorformulario"><html:errors property="provincia" /></span> <br/>

            <label>Tel&eacute;fono:</label>
            <html:text property="telefono" size="20"/>
            <span class="errorformulario"><html:errors property="telefono" /></span> <br/>

            <br />
            <label><html:submit>Enviar</html:submit></label>

            </fieldset>

        </html:form>
        </div>
        <a href="index.do">Volver</a>

        <div id="copy">=^_^= NeKo-Sys</div>
    </body>
</html>